package com.singleton.main;

import com.singleton.SingleEnum;
import com.singleton.Singleton2;
import com.singleton.SingletonHolder;

/**
 * 单件模式
 * 
 * @author dell
 * 
 */
public class SingletonClient {

	@SuppressWarnings("unused")
	public static void main(String[] args) {
		//Singleton2 singleton = Singleton2.getInstance();
		//SingletonHolder singleton2 = SingletonHolder.getInstance();
		SingleEnum.DATASOURCE.getConnection() ;
	}

}
